using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace rocketjump
{
    public class Sprite
    {
        public Vector2 position;
        public float scale = 1;
        public float rotation = 0;
        public Texture2D texture;

        public virtual void Draw(Camera cam)
        {
            GraphicsHelper.DrawSprite(this);
        }

        public virtual void Update(float tdelta)
        {

        }

        public void SetTexture(string texture)
        {
            this.texture = GraphicsHelper.LoadTexture(texture);
        }


    }
}
